package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.AlbumClass;

import java.util.List;

@DBMapper
public interface AlbumClassMapper {
    int deleteByPrimaryKey(Integer aclassId);

    int insert(AlbumClass record);

    int insertSelective(AlbumClass record);

    AlbumClass selectByPrimaryKey(Integer aclassId);

    int updateByPrimaryKeySelective(AlbumClass record);

    int updateByPrimaryKey(AlbumClass record);

    List<AlbumClass> getAlbumbyStoreId(Integer storeId);

    int getAlbumClassCntByName(AlbumClass albumClass);

    int updateDelAlbumPic(Integer albumId);

    int updateCover(AlbumClass albumClass);

    List<AlbumClass> selectByCondition(AlbumClass albumClass);
}